<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>大鱼吃小鱼小游戏</title>
    <!-- 引入 CSS 文件 -->
    <link rel="stylesheet" href="styles.css">
</head>

<body>
    <div id="colorSelection">
        <h2>选择你的鱼的颜色</h2>
        <div id="colorOptions"></div>
        <button id="startGameBtn" disabled>开始游戏</button>
    </div>
    <div id="scoreBoard">当前分数: <span id="currentScore">0</span></div>
    <canvas id="gameCanvas" width="800" height="600"></canvas>
    <div id="gameOver">
        <h2>游戏结束！</h2>
        <p>您的最终分数: <span id="score"></span></p>
        <button onclick="restartGame()">重新开始</button>
    </div>
    <div id="victory">
        <h2>恭喜你成为海洋霸主</h2>
        <p>您的最终分数: <span id="victoryScore"></span></p>
        <button onclick="restartGame()">重新开始</button>
    </div>
    <!-- 引入 JavaScript 文件 -->
    <script src="script.js"></script>
</body>

</html>
